package it.univpm.diiga.semanticsearch.servizi;

import java.util.ArrayList;
import java.util.List;

public class Link {
	private String wsdlLink;
	private String bpelLink;
	private String swsalLink;
	private String servLink;
	private String servName;
	private String servRepo;
	private int rank;
	

	private String servDescr;
	private List<String> servMeta = new ArrayList<String>();
	
	
	public Link(String servName,String servLink,String wsdl,String bpel,String swsal, String servRepo ){
			this.wsdlLink=wsdl;
			this.bpelLink=bpel;
			this.swsalLink=swsal;
			this.servLink=servLink;
			this.servName=servName;
			this.servRepo=servRepo;
			
	}
	public void setWsdlLink(String link){
		this.wsdlLink=link;
	}
	public void setBpelLink(String link){
		this.bpelLink=link;
		}
	public void setSwsalLink(String link){
		this.swsalLink=link;
	}
	public void setServLink(String link){
		this.servLink=link;
	}
	public void setServName(String link){
		this.servName=link;
	}
	public void setServRepo(String link){
		this.servRepo=link;
	}	
	
	public void setServDescr(String link){
		this.servDescr=link;
	}
	public void addServMeta(String link){
		this.servMeta.add(link);
	}

	
	
	
	public String getWsdlLink(){
		return wsdlLink;
	}
	public String getBpellLink(){
		return bpelLink; 
	}
	public String getSwsalLink(){
		return swsalLink; 
	}
	public String getServLink(){
		return servLink; 
	}
	public String getServName(){
		return servName;
	}
	public String getServRepo(){
		return servRepo;
	}
	
	
	public void setRank(int rank_val){
		this.rank=rank_val;
	}
	
	public int getRank(){
		return this.rank;
	}
	

	
	 //test
	public String getServDescr(){
		return this.servDescr;
	}
	public List<String> getServMeta(){
			return this.servMeta;
	}

	
}
